#include <stdlib.h>#include <stdio.h>#include <string.h>#include <amanita/aMath.h>#include <amanita/aString.h>#include "../Main.h"#include "../occult/Occult.h"#include "Horoscope.h"Horoscope::Horoscope(Profile *p) : profile() {	profile.setProfile(*p);app.printf("Horoscope::Horoscope(%s)\n",profile.name());	h = horoscope_new(p->name(),			p->year(),p->month(),p->day(),			p->hour(),p->minute(),p->second(),			p->gmt(),p->dst()? 1.0 : 0.0,1,			p->getLongitude(),p->getLatitude());}Horoscope::~Horoscope() {	if(h) horoscope_delete(h);	h = 0;}void Horoscope::castNatalChart(int *list) {	if(!h) return;	astronomy *a = astronomy_new(&h->gmt,h->lon,h->lat);	astronomy_get_planets(a,list? list : astro_default_planets,0);	horoscope_cast(h,a,HOROSCOPE_NATAL/*|HOROSCOPE_ASPECT_IN_SIGN*/,ASTRO_PLACIDUS);}